package com.ycz.algorithm.utils.tree.avl;

/**
 * @author yancz
 * @ClassName TreeNode
 * @description: AVL树节点
 * @date 2024-12-23 16:19:55
 * @version: 1.0
 */
public class TreeNode {

    public int val; // 节点值

    public int height; // 节点高度

    public TreeNode left; // 左节点

    public TreeNode right; // 右节点

    public TreeNode(int val) {
        this.val = val;
    }
}
